package com.ygq.train.business.service;


import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.ygq.train.business.req.ConfirmOrderDoReq;

import org.springframework.stereotype.Service;



public interface BeforeConfirmOrderService {

  Long beforeDoConfirm(ConfirmOrderDoReq req);
    /**
     * 降级方法，需包含限流方法的所有参数和BlockException参数
     * @param req
     * @param e
     */
    void beforeDoConfirmBlock(ConfirmOrderDoReq req, BlockException e);

}
